Skip to content

chore(repo): Migrate Renovate config from matchPackagePatterns to matchPackageNames#8251

Merged
jacekradko merged 1 commit intomainfrom
jacek/renovate-config-migration
Apr 7, 2026
Merged

chore(repo): Migrate Renovate config from matchPackagePatterns to matchPackageNames#8251
jacekradko merged 1 commit intomainfrom
jacek/renovate-config-migration

Conversation

@jacekradko
Copy link
Copy Markdown
Member

@jacekradko jacekradko commented Apr 7, 2026

Summary

  • Migrates the deprecated matchPackagePatterns Renovate option (removed in Renovate 38+) to the modern matchPackageNames regex syntax
  • Resolves the "Config Migration Needed" warning on the Dependency Dashboard (Dependency Dashboard #3419) that has been blocking Renovate from making forward progress since chore(repo): Re-enable Renovate automatic dependency updates #8249 re-enabled it
  • Updates the source of truth in scripts/renovate-config-generator.mjs and regenerates renovate.json5

Details

renovate-config-validator was reporting:

WARN: Config migration necessary

The only deprecated usage was the @clerk/* ignore rule:

- matchPackagePatterns: ['^@clerk/']
+ matchPackageNames: ['/^@clerk//']

In modern Renovate, regex patterns inside matchPackageNames are wrapped in /.../ delimiters. After regenerating renovate.json5, the validator reports:

INFO: Config validated successfully

Test plan

  • node scripts/renovate-config-generator.mjs regenerates renovate.json5 cleanly
  • npx renovate-config-validator renovate.json5 passes with no migration warning
  • Verify the "Config Migration Needed" section disappears from the Dependency Dashboard (Dependency Dashboard #3419) on the next Renovate run
  • Confirm Renovate resumes opening dependency PRs on its next scheduled run

Summary by CodeRabbit

  • Chores
    • Migrated package matching configuration for @clerk dependencies from pattern-based to name-list matching approach
    • Updated dependency management tooling documentation
    • Added changeset documentation entry for the configuration migration

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 7, 2026

🦋 Changeset detected

Latest commit: 18d31b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Apr 7, 2026 1:05pm

Request Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 7, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@8251

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@8251

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@8251

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@8251

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@8251

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@8251

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@8251

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@8251

@clerk/express

npm i https://pkg.pr.new/@clerk/express@8251

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@8251

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@8251

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@8251

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@8251

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@8251

@clerk/react

npm i https://pkg.pr.new/@clerk/react@8251

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@8251

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@8251

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@8251

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@8251

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@8251

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@8251

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@8251

commit: 18d31b0

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: a2848b0d-bc3e-4fd9-aa64-02242f58c8ed

📥 Commits

Reviewing files that changed from the base of the PR and between c021642 and 18d31b0.

📒 Files selected for processing (3)
  • .changeset/renovate-config-migration.md
  • renovate.json5
  • scripts/renovate-config-generator.mjs

📝 Walkthrough

Walkthrough

This pull request updates Renovate configuration files to change the dependency rule matching mechanism for Clerk-scoped packages. The renovate.json5 file and the configuration generator script (scripts/renovate-config-generator.mjs) both replace the matchPackagePatterns property with matchPackageNames, modifying how packages matching the @clerk/ scope are identified and processed. Additionally, a new Changesets markdown file is introduced containing only YAML front-matter delimiters.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main change: migrating Renovate configuration from matchPackagePatterns to matchPackageNames, which is the core objective of the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@jacekradko jacekradko merged commit 1564a8c into main Apr 7, 2026
45 checks passed
@jacekradko jacekradko deleted the jacek/renovate-config-migration branch April 7, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants